﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace skags.Models
{
    public class LinksViewModel
    {
        public LinkCategory Category { get; set; }
        public IEnumerable<Link> Links { get; set; }
    }

    public class LinksTablesViewModel
    {
        public IEnumerable<Link> Links { get; set; }
        public IEnumerable<LinkCategory> Categories { get; set; }
    }

    public class LinksItemViewModel
    {
        public int ID { get; set; }
        public System.Guid CreatorID { get; set; }
        public string CreatorName { get; set; }
        public string Title { get; set; }
        public string Url { get; set; }
        public int CategoryID { get; set; }
        public string CategoryName { get; set; }
    }

    public class LinkCatViewModel
    {
        public int ID { get; set; }
        public System.Guid CreatorID { get; set; }
        public string Title { get; set; }
        public string Url { get; set; }
        public int CategoryID { get; set; }
        public IEnumerable<LinkCategory> Categories { get; set; }
    }
}